package com.by.car.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@ApiModel(value = "购物车")
@AllArgsConstructor
@NoArgsConstructor
public class ShopCartItem {

//    @ApiModelProperty(name = "主键",notes = "")
//    private int  cartItemId ;

   /** 更新时间 */
    @ApiModelProperty(name = "更新时间",notes = "")
    private LocalDateTime updateTime ;
    /** 店铺ID */
    @ApiModelProperty(name = "店铺Id",notes = "")
    private int shopId ;
    /** 产品ID */
    @ApiModelProperty(name = "产品Id",notes = "")
    private int spuId ;
    /** SkuID */
    @ApiModelProperty(name = "SkuId",notes = "")
    private int skuId ;
    /** 用户ID */
    @ApiModelProperty(name = "用户Id",notes = "")
    private int userId ;
    /** 购物车产品个数 */
    @ApiModelProperty(name = "购物车产品个数",notes = "")
    private Integer count ;
    /** 售价，加入购物车时的商品价格 */
    @ApiModelProperty(name = "售价，加入购物车时的商品价格",notes = "")
    private Double priceFee ;
    /** 是否已勾选 */
    @ApiModelProperty(name = "是否已勾选0-是 1-否",notes = "")
    private int isChecked ;
}
